class TipoPartner < ActiveRecord::Base
  acts_as_paranoid unless SHOW_DELETED
  has_and_belongs_to_many :partners, :join_table => 'tipi_partner_partners', :uniq => true, :class_name => 'Partner'
  validates_presence_of :name
  validates_uniqueness_of :name, :scope => :deleted_at, :case_sensitive => false
end
